package xyz.syyrjx.entity;

import java.io.Serializable;

/**
 * @author Mr.Wan
 * @date 2022/10/10 - 21:29
 */
public class Order implements Serializable {
    private final static long serialVersionUID = 1;

    //订单id
    private Long oid;
    //发起订单的用户id
    private Integer uid;
    //订单号
    private String orderId;
    //....订单的其它信息省略


    public Order() {
    }

    public Order(Long oid, Integer uid, String orderId) {
        this.oid = oid;
        this.uid = uid;
        this.orderId = orderId;
    }

    public Long getOid() {
        return oid;
    }

    public void setOid(Long oid) {
        this.oid = oid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
}
